home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-12-04 | 1.1 KB | 29 lines | [TEXT/R*ch] |
- An itty bitty bytes™ revival of the old (April 1985) Jeffery J.
- Bradford tech support Pascal source that demonstrated graphic
- scrolling and scroll bars in general.
-
- Getting the original to run in Think Pascal and Metrowerks Pascal
- was a snap. getting it to run in Think and MW C was not. I could
- not find an example of "GetWRefcon" used in the context found
- here.
-
- That seems to be the only bug in the C ports - proper getting of
- the window refCon.
-
- I tried using the asm gleaned from ResEdit's 'CODE' editor and I
- did get the scrolling to work properly, but not on the first
- scroll. The window would "bullseye" would either not be drawn at
- all prior to the first scroll, and work right after scrolling, or
- be drawn right and not scroll right (redraw right), depending on
- how I set up the asm fragments.
-
- I don't have the time or inspiration to fix it, right now, so I'll
- leave that to you. If you fix it, send me the fix. But the
- Pascal, as revived, works fine ecept for the Think biult ap.
- doesn't get command equivalents. No big deal, either.
-
- Enjoy!
-
- kenlong@netcom.com
-
-